export default {
  data() {
    return {
      loading: true
    }
  },
  created () {
    
  },
  methods: {
    async getQueryPageList(url,data) {
      if(!url){
        url = this.apiName
      }
      try {
        let res = await this.queryPageListPost(url,data)
        this.list = res.data.data.records
        this.total = res.data.data.total
      } catch (error) {
        console.log(error);
      }
      this.loading = false
    }
  },
}